package com.eedi.framework.permission.controller.org.vo.permission;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @Project eedi-org
 * @Description 批量赋予用户角色
 * @Author TomBombadil
 * @Date 2024/08/11 14:07
 **/
@Data
@Builder
@Schema(description = "经营管理 - 批量赋予用户角色 Response VO")
public class OrgPermissionBatchAssignUserRoleResp implements Serializable {

    /**
     * 是否导入失败，true：是，false：否
     */
    @Schema(description = "是否导入失败", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    private Boolean importFail;

    /**
     * 异常数据Excel文件名
     */
    @Schema(description = "异常数据Excel文件名", requiredMode = Schema.RequiredMode.REQUIRED, example = "1348354000-异常数据.xlsx")
    private String failFileName;
    /**
     * 异常数据Excel文件url
     */
    @Schema(description = "异常数据Excel文件url", requiredMode = Schema.RequiredMode.REQUIRED, example = "http://minio-server/bucket-234/1348354000-异常数据.xlsx")
    private String failFileUrl;

    /**
     * 导入总条数
     */
    @Schema(description = "导入总条数", requiredMode = Schema.RequiredMode.REQUIRED, example = "12")
    private Integer count;

    /**
     * 成功条数
     */
    @Schema(description = "成功条数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Integer successCount;

    /**
     * 失败条数
     */
    @Schema(description = "失败条数", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private Integer failCount;
}
